package com.bosssoft.permission.centre.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.bosssoft.permission.centre.entity.Department;
import com.bosssoft.permission.centre.entity.Position;
import com.bosssoft.permission.centre.pojo.query.DepartmentQuery;
import com.sd365.common.core.common.dao.CommonMapper;


import java.util.List;

public interface DepartmentMapper extends BaseMapper<Department> {
    /**
     * 通用查询带分页
     *
     * @param departmentQuery
     * @return
     */
    List<Department> commonQueryDepartment(DepartmentQuery departmentQuery);

    List<Department> selectList();

//    /**
//     * 添加部门
//     * @author Yan Huazhi
//     * @date 2020/12/18 10:48
//     * @version 0.0.1
//     * @param department
//     * @return
//     */
//    int insertDepartment(Department department);
}
